package com.hkts.naturalgas.base.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.hkts.naturalgas.config.JsonSerializerUtils;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2021-05-31
 */
public class HktsWasteGas extends Model<HktsWasteGas> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;
    /**
     * 时间
     */
    private LocalDateTime time;
    /**
     * 废气排放量(m³)
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float a00000Cou;
    /**
     * 氧含量均值(%)
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float a19001Avg;
    /**
     * 烟尘实测浓度(mg/m³)
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float a34013Avg;
    /**
     * 二氧化硫实测浓度(mg/m³)
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float a21026Avg;
    /**
     * 氮氧化物实测浓度(mg/m³)
     */
    @JsonSerialize(using = JsonSerializerUtils.class)
    private Float a21002Avg;
    /**
     * 是否生产
     */
    private String stopFlag;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public Float getA00000Cou() {
        return a00000Cou;
    }

    public void setA00000Cou(Float a00000Cou) {
        this.a00000Cou = a00000Cou;
    }

    public Float getA19001Avg() {
        return a19001Avg;
    }

    public void setA19001Avg(Float a19001Avg) {
        this.a19001Avg = a19001Avg;
    }

    public Float getA34013Avg() {
        return a34013Avg;
    }

    public void setA34013Avg(Float a34013Avg) {
        this.a34013Avg = a34013Avg;
    }

    public Float getA21026Avg() {
        return a21026Avg;
    }

    public void setA21026Avg(Float a21026Avg) {
        this.a21026Avg = a21026Avg;
    }

    public Float getA21002Avg() {
        return a21002Avg;
    }

    public void setA21002Avg(Float a21002Avg) {
        this.a21002Avg = a21002Avg;
    }

    public String getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(String stopFlag) {
        this.stopFlag = stopFlag;
    }

    public static final String ID = "id";

    public static final String TIME = "time";

    public static final String A00000_COU = "a00000_cou";

    public static final String A19001_AVG = "a19001_avg";

    public static final String A34013_AVG = "a34013_avg";

    public static final String A21026_AVG = "a21026_avg";

    public static final String A21002_AVG = "a21002_avg";

    public static final String STOP_FLAG = "stop_flag";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HktsWasteGas{" +
                ", id=" + id +
                ", time=" + time +
                ", a00000Cou=" + a00000Cou +
                ", a19001Avg=" + a19001Avg +
                ", a34013Avg=" + a34013Avg +
                ", a21026Avg=" + a21026Avg +
                ", a21002Avg=" + a21002Avg +
                ", stopFlag=" + stopFlag +
                "}";
    }
}
